package net.muchine.test.ddd.repository.collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import net.muchine.test.ddd.Registrar;
import net.muchine.test.ddd.domain.Product;
import net.muchine.test.ddd.repository.ProductRepository;

public class CollectionProductRepository implements ProductRepository {
//	@Autowired private Registrar registrar;
	
	public void save(Product product) {
//		this.registrar.add(Product.class, product);
	}

	public Product find(String productName) {
		return null;
//		return (Product) this.registrar.get(Product.class, productName);
	}
}
